home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / games / nhak_src.zip / VAULT.H < prev    next >
C/C++ Source or Header  |  1993-03-16  |  747b  |  27 lines

  1. /*    SCCS Id: @(#)vault.h    3.0    88/04/25
  2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  3. /* NetHack may be freely redistributed.  See license for details. */
  4.  
  5. #ifndef VAULT_H
  6. #define VAULT_H
  7.  
  8. #define    FCSIZ    (ROWNO+COLNO)
  9. struct fakecorridor {
  10.     xchar fx,fy,ftyp;
  11. };
  12.  
  13. struct egd {
  14.     int fcbeg, fcend;    /* fcend: first unused pos */
  15.     xchar gdx, gdy;        /* goal of guard's walk */
  16.     xchar ogx, ogy;        /* guard's last position */
  17.     xchar gdlevel;        /* level guard was created on */
  18.     xchar warncnt;        /* number of warnings to follow */
  19.     int vroom;        /* room number of the vault */
  20.     unsigned gddone:1;
  21.     struct fakecorridor fakecorr[FCSIZ];
  22. };
  23.  
  24. #define    EGD(mon)    ((struct egd *)(&(mon->mextra[0])))
  25.  
  26. #endif /* VAULT_H /* */
  27.